(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/exec.h>
void CacheClearU()
LOCATION
In SysBase at offset 106
FUNCTION
Flush the entire contents of the CPU instruction and data caches. If some of the cache contains dirty data, push it to memory first.

For most systems DMA will not effect processor caches. If *any* external (non-processor) event changes system memory, you MUST clear the cache. For example:

DMA Code relocation to run at a different address Building jump tables Loading code from disk

INPUTS
RESULT
The caches will be flushed.

NOTES
It is possible that on some systems the entire cache will be even if this was not the specific request.

EXAMPLE
BUGS
SEE ALSO
CacheClearE(), CacheControl(), CachePreDMA(), CachePostDMA()
INTERNALS
Although it is not necessary, but it could be more efficient if this function was replaced by a function in $(KERNEL).

HISTORY
05.08.1997 iaint
Kernel Changes - These are mostly functions which are normally implemented by the kernel, but might not be.